package com.production.CoursePlatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import lombok.Getter;

import java.time.LocalDateTime;

@Data
@TableName("learn_replay")
public class LearnReplay {

    @TableId(type = IdType.INPUT)
    @TableField("lr_id")
    private int lrID;

    @TableField("ct_id")
    private int ctID;

    @TableField("lr_date")
    private LocalDateTime lrDate;

    @TableField("lr_order")
    private int lrOrder;

    @TableField("attachment")
    private int attachment;

    public int getLrID() {
        return lrID;
    }

    public int getCtID() {
        return ctID;
    }

    public LocalDateTime getLrDate() {
        return lrDate;
    }

    public int getLrOrder() {
        return lrOrder;
    }

    public int getAttachment() {
        return attachment;
    }

    public void setLrID(int lrID) {
        this.lrID = lrID;
    }

    public void setCtID(int ctID) {
        this.ctID = ctID;
    }

    public void setLrDate(LocalDateTime lrDate) {
        this.lrDate = lrDate;
    }

    public void setLrOrder(int lrOrder) {
        this.lrOrder = lrOrder;
    }

    public void setAttachment(int attachment) {
        this.attachment = attachment;
    }
}
